import java.sql.SQLOutput;

public class Main {
    public static void main(String[] args) {
        CarDirector carDirector1 = new CarDirector(new ConcreteCarBmw());
        Car car1 = carDirector1.buildCar();
        CarDirector carDirector2 = new CarDirector(new ConcreteCarBmw());
        Car car2 = carDirector2.buildCar();
        System.out.println(car1.toString());
        System.out.println(car2.toString());
    }
}